GetName
The GetName method returns the name of this document.
ODDocumentName GetName ();
- return value
- The name of the document, or an empty sequence if the document does not have a name.
DISCUSSION
Although parts can call this method, they are not usually concerned with document names.If this document has a name, this method returns a copy of that name. Otherwise, the
text
field of the resultODDocumentName
structure represents an empty sequence of characters; that is, thetext
field is anODByteArray
structure whose_length
field contains 0 and whose_buffer
field contains a null pointer.EXCEPTIONS
kODErrInvalidPersistentFormat
- Unable to read the name from persistent storage because it is not in a recognized format.
SEE ALSO
TheODDocumentName
type (page 902).
TheODDocument::SetName
method (page 145).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help